package com.crowntit.domain.order.service;

import com.crowntit.domain.order.model.aggregate.CreateOrderAggregate;
import com.crowntit.domain.order.model.entity.GroupBuyNotifyEntity;
import com.crowntit.domain.order.model.entity.PayOrderEntity;
import com.crowntit.domain.order.model.entity.ShopCartEntity;

import java.io.IOException;
import java.util.List;

public interface IOrderService {
    PayOrderEntity createOrder(ShopCartEntity shopCartEntity) throws Exception;

    void changeOrderPaySuccess(String orderId) throws IOException;

    void changeOrderGroupBuyTeamStatus(GroupBuyNotifyEntity groupBuyNotifyEntity) throws Exception;

    List<String> queryNoPayNotifyOrder();

    List<String> queryTimeoutCloseOrder();

    boolean changeOrderClose(String orderId);
}
